<template>
  <el-button @click="openDialog">打开弹窗</el-button>
  <Dialog ref="tabsDialogRef"> </Dialog>
</template>

<script setup>
import Dialog from '@/components/dialog/Dialog.vue'
import { ref } from 'vue'

const tabsDialogRef = ref(null)
const openDialog = () => {
  tabsDialogRef.value.openDialog()
}
</script>
